
Ext.define('ZO0.store.Customer', {
    extend: 'Ext.data.Store',
    model: 'ZO0.model.Customer',

    buffered: true,
    leadingBufferZone: 300,
    pageSize: 100,

    proxy: {
        type: 'ajax',
        api: {
            read: 'what?do=ship&ex=selectCust'
        },
        reader: {
            type: 'json',
            root: 'data',
            successProperty: 'success',
            totalProperty: 'total'
        }
    }
});
